home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / ddj0897.zip / RCSC.ZIP / PACKAGES / AWK320.ZIP / ATAN2.AWK < prev    next >
Text File  |  1990-02-08  |  136b  |  4 lines

  1. # calculate and print the arctan of two sides of a triangle useing atan2
  2.  
  3. { printf ("atan2(%g, %g) = %g\n", $1, $2, atan2($1, $2)) }
  4.